package com.caiyi.financial.nirvana.sms.handler;

import com.caiyi.financial.nirvana.sms.cache.BlackMobileCache;
import com.caiyi.financial.nirvana.sms.cache.SmsMateCache;
import org.springframework.context.ApplicationContext;
import org.springframework.stereotype.Component;

/**
 * Created by Mario on 2017/12/20 0020.
 * 项目启动
 */
@Component
public class StartHandler extends ApplicationHandler {

    @Override
    public void start(ApplicationContext applicationContext) {
        //加载黑名单到内存
        BlackMobileCache.initBlackMobile();
        //加载smsMate到内存
//        SmsMateCache.initSmsMateToLocal();
    }

}
